<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../ucs.css">
    <link rel="stylesheet" href="../font/iconfont.css">
    <link rel="stylesheet" href="../demo.css">
</head>
<body>
    <div id="main"></div>
    <script type="text/javascript" src="../../dist/libs/u-eventhub.js"></script>
    <script type="text/javascript" src="../../dist/libs/engine.js"></script>
    <script type="text/javascript" src="../../dist/ucsmy-ui.js"></script>

    <script type="text/javascript">
        var resultDateDM = new UDM({
            value:{}
        });

        var URLDM = new UDM({
            home:"../demoIndex/index.html",     //首页
            invest:"../demoInvestList/index.html",  //我要投资
            retry:"../demoConfirmPay/index.html"    //返回重试
        });
        var ajaxFn = function() {
            var result = {
                orderType:0,
                ProjectName:"企贷项目【20160503】",
                OrderAmount:"100,000.00",
                InterestAmount:"5600.35",
                RepayBegin:"2016-10-06",
                ErrorTips:"对不起，该订单交易处理失败，请您稍后再试或者咨询：0816-2373017"
            };
            resultDateDM.setValue(result);
        };

        UEventHub.on("pageLoad",function(){
            ajaxFn();
        });
        var PageDM = {
            URL:URLDM,
            resultDate:resultDateDM
        };
    </script>
</body>
</html>